/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/pages/layout/Layout'

const orderNewRouter = {
  path: '/order',
  component: Layout,
  redirect: '/table/complex-table',
  name: '订单',
  meta: {
    title: '订单',
    icon: 'table'
  },
  children: [
    {
      path: 'query',
      component: () => import('@/pages/order/query/index.vue'),
      name: '订单查询',
      meta: { title: '订单查询' }
    },
    {
      path: 'add',
      component: () => import('@/pages/order/add/index.vue'),
      name: '新增订单',
      meta: { title: '新增订单' }
    },
    {
      path: 'detail',
      component: () => import('@/views/pas_order/detail/index.vue'),
      name: '订单明细',
      meta: { title: '订单明细' }
    }
  ]
}
export default orderNewRouter
